package cn.zl.springbootredis.service.UserService;

import cn.zl.springbootredis.entity.User;

import java.util.List;

/**
 * @Description:
 * @Author: zhanglang
 * @Date: 2020/9/7 14:52
 */
public interface UserService {
    List<User> findAll();

    User findById(Long id);

    void delete(Long id);

    void save(User user);

    void update(User user);

}
